package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_file_uploadMapper;
import com.business.domain.T_file_upload;

@Service("t_file_uploadService")
@Transactional
public class T_file_uploadService{
	private static Logger log = Logger.getLogger(T_file_uploadService.class.getName());

	@Resource
    private T_file_uploadMapper t_file_uploadMapper;


	public int save(T_file_upload obj){
		 return t_file_uploadMapper.save(obj);
	}

	public int update(T_file_upload obj){
		return t_file_uploadMapper.update(obj);
	}

	public int delete(T_file_upload obj){
		return t_file_uploadMapper.delete(obj);
	}

	public int deleteByFilegroup(T_file_upload obj){
		return t_file_uploadMapper.deleteByFilegroup(obj);
	}

	public T_file_upload findById(T_file_upload obj){
		return t_file_uploadMapper.findById(obj);
	}

	public List findAll(T_file_upload obj ){
		 return t_file_uploadMapper.findAll(obj);
	}

	public int findCountAll(T_file_upload obj ){
		 return t_file_uploadMapper.findCountAll(obj);
	}
}
